Optimal. Leaf size=109 \[ -\frac {a^9}{9 x^9}-\frac {9 a^8 b}{8 x^8}-\frac {36 a^7 b^2}{7 x^7}-\frac {14 a^6 b^3}{x^6}-\frac {126 a^5 b^4}{5 x^5}-\frac {63 a^4 b^5}{2 x^4}-\frac {28 a^3 b^6}{x^3}-\frac {18 a^2 b^7}{x^2}-\frac {9 a b^8}{x}+b^9 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 109, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {45}
\begin {gather*} -\frac {a^9}{9 x^9}-\frac {9 a^8 b}{8 x^8}-\frac {36 a^7 b^2}{7 x^7}-\frac {14 a^6 b^3}{x^6}-\frac {126 a^5 b^4}{5 x^5}-\frac {63 a^4 b^5}{2 x^4}-\frac {28 a^3 b^6}{x^3}-\frac {18 a^2 b^7}{x^2}-\frac {9 a b^8}{x}+b^9 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {(a+b x)^9}{x^{10}} \, dx &=\int \left (\frac {a^9}{x^{10}}+\frac {9 a^8 b}{x^9}+\frac {36 a^7 b^2}{x^8}+\frac {84 a^6 b^3}{x^7}+\frac {126 a^5 b^4}{x^6}+\frac {126 a^4 b^5}{x^5}+\frac {84 a^3 b^6}{x^4}+\frac {36 a^2 b^7}{x^3}+\frac {9 a b^8}{x^2}+\frac {b^9}{x}\right ) \, dx\\ &=-\frac {a^9}{9 x^9}-\frac {9 a^8 b}{8 x^8}-\frac {36 a^7 b^2}{7 x^7}-\frac {14 a^6 b^3}{x^6}-\frac {126 a^5 b^4}{5 x^5}-\frac {63 a^4 b^5}{2 x^4}-\frac {28 a^3 b^6}{x^3}-\frac {18 a^2 b^7}{x^2}-\frac {9 a b^8}{x}+b^9 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 109, normalized size = 1.00 \begin {gather*} -\frac {a^9}{9 x^9}-\frac {9 a^8 b}{8 x^8}-\frac {36 a^7 b^2}{7 x^7}-\frac {14 a^6 b^3}{x^6}-\frac {126 a^5 b^4}{5 x^5}-\frac {63 a^4 b^5}{2 x^4}-\frac {28 a^3 b^6}{x^3}-\frac {18 a^2 b^7}{x^2}-\frac {9 a b^8}{x}+b^9 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 100, normalized size = 0.92
method | result | size |
default | \(-\frac {a^{9}}{9 x^{9}}-\frac {9 a^{8} b}{8 x^{8}}-\frac {36 a^{7} b^{2}}{7 x^{7}}-\frac {14 a^{6} b^{3}}{x^{6}}-\frac {126 a^{5} b^{4}}{5 x^{5}}-\frac {63 a^{4} b^{5}}{2 x^{4}}-\frac {28 a^{3} b^{6}}{x^{3}}-\frac {18 a^{2} b^{7}}{x^{2}}-\frac {9 a \,b^{8}}{x}+b^{9} \ln \left (x \right )\) | \(100\) |
norman | \(\frac {-\frac {1}{9} a^{9}-9 a \,b^{8} x^{8}-18 a^{2} b^{7} x^{7}-28 a^{3} b^{6} x^{6}-\frac {63}{2} a^{4} b^{5} x^{5}-\frac {126}{5} a^{5} b^{4} x^{4}-14 a^{6} b^{3} x^{3}-\frac {36}{7} a^{7} b^{2} x^{2}-\frac {9}{8} a^{8} b x}{x^{9}}+b^{9} \ln \left (x \right )\) | \(100\) |
risch | \(\frac {-\frac {1}{9} a^{9}-9 a \,b^{8} x^{8}-18 a^{2} b^{7} x^{7}-28 a^{3} b^{6} x^{6}-\frac {63}{2} a^{4} b^{5} x^{5}-\frac {126}{5} a^{5} b^{4} x^{4}-14 a^{6} b^{3} x^{3}-\frac {36}{7} a^{7} b^{2} x^{2}-\frac {9}{8} a^{8} b x}{x^{9}}+b^{9} \ln \left (x \right )\) | \(100\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 100, normalized size = 0.92 \begin {gather*} b^{9} \log \left (x\right ) - \frac {22680 \, a b^{8} x^{8} + 45360 \, a^{2} b^{7} x^{7} + 70560 \, a^{3} b^{6} x^{6} + 79380 \, a^{4} b^{5} x^{5} + 63504 \, a^{5} b^{4} x^{4} + 35280 \, a^{6} b^{3} x^{3} + 12960 \, a^{7} b^{2} x^{2} + 2835 \, a^{8} b x + 280 \, a^{9}}{2520 \, x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.47, size = 103, normalized size = 0.94 \begin {gather*} \frac {2520 \, b^{9} x^{9} \log \left (x\right ) - 22680 \, a b^{8} x^{8} - 45360 \, a^{2} b^{7} x^{7} - 70560 \, a^{3} b^{6} x^{6} - 79380 \, a^{4} b^{5} x^{5} - 63504 \, a^{5} b^{4} x^{4} - 35280 \, a^{6} b^{3} x^{3} - 12960 \, a^{7} b^{2} x^{2} - 2835 \, a^{8} b x - 280 \, a^{9}}{2520 \, x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.32, size = 107, normalized size = 0.98 \begin {gather*} b^{9} \log {\left (x \right )} + \frac {- 280 a^{9} - 2835 a^{8} b x - 12960 a^{7} b^{2} x^{2} - 35280 a^{6} b^{3} x^{3} - 63504 a^{5} b^{4} x^{4} - 79380 a^{4} b^{5} x^{5} - 70560 a^{3} b^{6} x^{6} - 45360 a^{2} b^{7} x^{7} - 22680 a b^{8} x^{8}}{2520 x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.36, size = 101, normalized size = 0.93 \begin {gather*} b^{9} \log \left ({\left | x \right |}\right ) - \frac {22680 \, a b^{8} x^{8} + 45360 \, a^{2} b^{7} x^{7} + 70560 \, a^{3} b^{6} x^{6} + 79380 \, a^{4} b^{5} x^{5} + 63504 \, a^{5} b^{4} x^{4} + 35280 \, a^{6} b^{3} x^{3} + 12960 \, a^{7} b^{2} x^{2} + 2835 \, a^{8} b x + 280 \, a^{9}}{2520 \, x^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 100, normalized size = 0.92 \begin {gather*} b^9\,\ln \left (x\right )-\frac {\frac {a^9}{9}+\frac {9\,a^8\,b\,x}{8}+\frac {36\,a^7\,b^2\,x^2}{7}+14\,a^6\,b^3\,x^3+\frac {126\,a^5\,b^4\,x^4}{5}+\frac {63\,a^4\,b^5\,x^5}{2}+28\,a^3\,b^6\,x^6+18\,a^2\,b^7\,x^7+9\,a\,b^8\,x^8}{x^9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________